//
//  LLUploadDateTool.m
//  BillRecords
//
//  Created by admin on 2018/9/20.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "LLUploadDateTool.h"

@implementation LLUploadDateTool

+ (instancetype)setupWithData:(NSData *)data name:(NSString *)name fileName:(NSString *)fileName mimeType:(NSString *)mimeType
{
    LLUploadDateTool *tool = [[self alloc] init];
    tool.data = data;
    tool.name = name;
    tool.fileName = fileName;
    tool.mimeType = mimeType;
    return tool;
}

+ (instancetype)setupWithData:(NSData *)data name:(NSString *)name fileName:(NSString *)fileName
{
    return [self setupWithData:data name:name fileName:fileName mimeType:@"image/jpeg"];
}


@end
